#include "machine.h"

#include "lua.h"
#include "kxlib.h"

namespace kxlua {

Machine::Machine() {
    lua_ = new Lua();
    kxlib_ = new Kxlib(*lua_);
}

Machine::~Machine() {
}

ILua* Machine::GetLua() {
    return lua_;
}

IKxlib* Machine::GetKxlib() {
    return kxlib_;
}
    
}
